package cn.audit.service.zqmk;

import cn.audit.bean.pojo.Property;
import cn.audit.repository.zqmk.PropertyRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: 钟琪
 * @Date: 2019/5/23 14:57
 */
@Service
public class PropertyServiceImpl implements  PropertyService {
    @Resource
    private PropertyRepository propertyRepository;
    @Override
    public List<Property> findAllByConfigId(Integer id) {
        return propertyRepository.findAllByConfigId(id);
    }
}
